function imgChange(obj1, obj2) {
        //获取点击的文本框
        var file = document.getElementById("file");
        alert(file);
        //存放图片的父级元素
        var imgContainer = document.getElementsByClassName(obj1)[0];
        alert(imgContainer);
        //获取的图片文件
        var fileList = file.files;
        //文本框的父级元素
        var input = document.getElementsByClassName(obj2)[0];
        var imgArr = [];
        //遍历获取到得图片文件
        for (var i = 0; i < fileList.length; i++) {
            var imgUrl = window.URL.createObjectURL(file.files[i]);
            imgArr.push(imgUrl);
            var img = document.createElement("div");
            img.setAttribute("style", 'background:url('+imgArr[i]+') no-repeat center center;background-size:contain;');
            img.setAttribute('class','z_addImg');
            imgContainer.appendChild(img);
        };
        var oIptBox=document.querySelector('.weui-uploader__input-box');
        oIptBox.style.display='none';
        //imgRemove();
    };


